code: def read_file(self):
          '''load config from local file'''
          if os.path.exists(self.experiment_file):
              try:
                  with open(self.experiment_file, 'r') as file:
                      return json.load(file)
              except ValueError:
                  return {}
          return {f read_file(self):
          '''load config from local file'''
          if os.path.exists(self.experiment_file):
              try:
                  with open(self.experiment_file, 'r') as file:
                      return json.load(file)
              except ValueError:
                  return {}
          return {}
docs: load config from local file