Create gen.txt