create mainfile.txt