read a file line by line into a list,"with open(fname) as f: