Implement' Save as' and 'open' action using pickle