simplified the use of overwritable text file output format