code: def load(filepath=None, filecontent=None):
      
      conf = DotDict()
  
      assert filepath or filecontent
      if not filecontent:
          with io.FileIO(filepath) as handle:
              filecontent = handle.read().decode('utf-8')
      configs = json.loads(filecontent)
      conf.update(configs.items())
      return conf
docs: Read the json file located at `filepath`
  
      If `filecontent` is specified, its content will be json decoded
      and loaded instead.
  
      Usage:
          config.load(filepath=None, filecontent=None):
          Provide either a filepath or a json string