docs: def _rename_file(self, line=""):
          """Rename an ontology
              2016-04-11: not a direct command anymore """
  
          if not self.all_ontologies:
              self._help_nofiles()
          else:
              out = []
              for each in self.all_ontologies:
                  if line in each:
                      out += [each]
              choice = self._selectFromList(out, line)
              if choice:
                  fullpath = self.LOCAL_MODELS + "/" + choice
                  print(fullpath)
                  if os.path.isfile(fullpath):
  
                      self._print("--------------")
                      self._print("Please enter a new name for <%s>, including the extension (blank=abort)"
                                  % choice)
                      var = input()
                      if var:
                          try:
                              os.rename(fullpath, self.LOCAL_MODELS + "/" + var)
                              manager.rename_pickled_ontology(choice, var)
                              self._print("<%s> was renamed succesfully." % choice)
                              self.all_ontologies = manager.get_localontologies()
                          except:
                              self._print("Not a valid name. An error occurred.")
                              return
                      else:
                          return
  
                  else:
                      self._print("File not found.")
                  # delete
                  if self.current and self.current['fullpath'] == fullpath:
                      self.current = None
                      self.currentEntity = None
                      self.prompt = _get_prompt()
  
          return