Added functions for generating strings within the file and for grabbing an exterior text file