Passing output file as parameter in export_* methods.
Handling of command line parameters.