Update file settings and cleanup

Added some text file formatting fns and the mighty htail!