Added .txt file creation albeit basic