Pretty print a text file.