def get_name_from_filename(filename):
    """Gets the partition and name from a filename"""
    partition = filename.split('_', 1)[0]
    name = filename.split('_', 1)[1][:-4]
    return partition, name