I'm guessing the lines in your file end in carriage returns (\r character) not followed by new lines. That causes each line to be overwritten by the next one, and you only see the last one. Try doing
tr '\r' '\n' <filelist97.txt
If that fixes it, you should consider fixing the file.