Added a save-as option to save the current file