Added simple text file formatting. Seems to work well.