Properly extract the words from the lines in the file.