def get_class_labels(f_labels):
    """
    Return name list (i.e., class labels).

    :param f_labels:  file of labels to read in
    :return:          class labels (i.e., contents of f_labels)
    """

    with open(f_labels) as fid:
        labels = fid.readlines()

    def clean_labels(x):
        return x.rstrip()

    return list(map(clean_labels, labels))