for line in my_file:
    i = line[:-1].split('\t')
try:
    matches.append([mylist[i[2]], i[1], i[3]])
except NameError:
    pass
What is the most efficient way to match list items to lines in a large file in Python?