code: def new_file(self):
          
  
          language = self.__languages_model.get_language(self.__default_script_language)
          editor = Editor(parent=self, language=language)
  
          file = editor.new_file()
          if not file:
              return False
  
          LOGGER.info("{0} | Creating '{1}' file!".format(self.__class__.__name__, file))
  
          if self.__model.set_authoring_nodes(editor):
              self.__store_recent_file(file)
              self.file_loaded.emit(file)
              return True
docs: Creates a new file into a new **Script_Editor_tabWidget** Widget tab.
  
          :return: Method success.
          :rtype: bool