Add functions for clicking menu item of  new workspace/file