Create the text file for script reading