code: def read(fname):
      
      path = os.path.join(SCRIPTDIR, fname)
      if PY3:
          f = open(path, 'r', encoding='utf8')
      else:
          f = open(path, 'r')
      content = f.read()
      f.close()
      return content
docs: Return content of specified file