test all files for new lines

added condidtions to the while loop so that it will test the engish and
sounds files. the loop will exit when any one file has no more lines.