FILE_SAVE: Refactor data save, so data can be saved without the dialog            box.