code: def _print_table_ontologies():
      
      ontologies = get_localontologies()
      ONTOSPY_LOCAL_MODELS = get_home_location()
  
      if ontologies:
          print("")
          temp = []
          from collections import namedtuple
          Row = namedtuple('Row', ['N', 'Added', 'File'])
          # Row = namedtuple('Row',['N','Added','Cached', 'File'])
          counter = 0
          for file in ontologies:
              counter += 1
              _counter = str(counter)
              # name = Style.BRIGHT + file + Style.RESET_ALL
              name = click.style(file, fg='green')
              try:
                  mtime = os.path.getmtime(ONTOSPY_LOCAL_MODELS + "/" + file)
              except OSError:
                  mtime = 0
              last_modified_date = str(datetime.datetime.fromtimestamp(mtime))
  
              # cached = str(os.path.exists(ONTOSPY_LOCAL_CACHE + "/" + file + ".pickle"))
              temp += [Row(_counter, last_modified_date, name)]
          pprinttable(temp)
          print("")
      return
docs: list all local files
      2015-10-18: removed 'cached' from report
      2016-06-17: made a subroutine of action_listlocal()