code: def link_file(f, fldr):
      
      fname = os.path.join(fldr,f)
      if os.path.isfile(fname):
          return '<a href="/aikif/data/core/' + f + '">' + f + '</a>'
      else:
          return f
docs: creates a html link for a file using folder fldr