Finds the longest string in a text file.