code: def loadFromFile(self, path):
          
          if '~' in path:
              path = os.path.expanduser(path)
          f = open(path)
          body = f.read()
          f.close()
          self._path = path
          self.loadFromString(body)
docs: Load JSON config file from disk at the given path
  
          :param str path: path to config file