Text file generator