Optional parameter that supports save-to-file