Created functions that convert a file of words to a list of words.