Added the text file creation