Bout to mess up...
Fixed problem with command line 'outfile' overwriting the output file:
- save worked with manual, default 'outfile'; overwrote file with command line entry
Solution:
  - remaned parameter key to 'output'
  - 'outfile' key may have been confused with file variable 'outfile'