Correction to file saving based on supplied flags
v0.4.3

* development:
  Correction to file saving based on supplied flags