code: def load(self, filename):
          
  
          self._set_filename(filename)
  
          if os.path.isfile(self['location']):
              # d = OrderedDict(read_yaml_config(self['location'], check=True))
              d = read_yaml_config(self['location'], check=True)
              with open(self['location']) as myfile:
                  document = myfile.read()
              x = yaml.load(document, Loader=yaml.FullLoader)
              try:
                  self.update(d)
              except:
                  print("ERROR: can not find", self["location"])
                  sys.exit()
          else:
              print(
                  "Error while reading and updating the configuration file {:}".format(
                      filename))
docs: Loads the yaml file with the given filename.
  
          :param filename: the name of the yaml file