code: def load(cls, fname):
          
          with open(fname) as f:
              return Config(**json.load(f))
docs: Loads the dictionary from json file
          :param fname: file to load from
          :return: loaded dictionary