Trying to fix code that imports file of words.