def label_file_to_labels(label_filename):
    """Reads a file containing labels for one AVI movie and puts it in a list.
    """
    with open(label_filename, 'r') as f:
        all_labels = [int(label) for label in f.readlines()]
    return all_labels