Removed some line continuations, added file naming function
Added buffering system for multiple file output
Added a tests: utility function, multiple output files

also did a little cleanup (could probably use more)