made it name files and generate txt's