Refactored where the text file is to make simpler