code: def _read_config_file(self):
          
  
          try:
              with open(self.config, 'r') as f:
                  config_data = json.load(f)
          except FileNotFoundError:
              config_data = {}
  
          return config_data
docs: read in the configuration file, a json file defined at self.config