import csv


def read_list_of_ids(file_name):
    """
    Reads text file with simple list of animal IDsm like:
    PL00111234567
    PL00111234568
    ...

    :param file_name:
    :return: list
    """
    ids_list = list()
    with open(file_name) as csvfile:
        csvreader = csv.DictReader(csvfile, fieldnames=['animal_id'])
        for row in csvreader:
            ids_list.append(row['animal_id'].strip())
    return ids_list