def _get_image_list_from_file(filename):
    """
    Get the list of image names from the file
    :param filename: file path
    :return: list of images
    """
    with open(filename, 'r') as fp:
        image_list = [_line.strip() for _line in fp.readlines()]
    return image_list