generate text files