fix output file processing
Merge pull request #8 from jeffmess/output-file

fix output file processing