Text formatter source code and sample text file