def load_name_index(file_name):
    """
    Returns names: a list where names[i] is the name of phone[i]
    """
    names = []
    with open(file_name) as timit_file:
        for line in timit_file:
            idx, label = line.split(",")
            idx = int(idx) - 1 # -1 because 1-based indexing
            name, junk = label.strip().split(" ")
            
            if name not in names:
                names.append(name)

    return names