modified output format to .txt in order to upload them