def parse_file(file_name):
    """Parse file to image list

    Args:
        file_name (str): The path of data file

    Returns:
        List of image path
    """

    with open(file_name, "r") as f:
        data_list = [line.strip() for line in f.readlines()]
    return data_list