code: def read(fname, fail_silently=False):
          
          try:
              filepath = os.path.join(os.path.dirname(__file__), fname)
              with io.open(filepath, 'rt', encoding='utf8') as f:
                  return f.read()
          except:
              if not fail_silently:
                  raise
              return ''
docs: Read the content of the given file. The path is evaluated from the
          directory containing this file.