docs: def _read(name):
      """read the yml file"""
      logging.debug("Reading config-file: %s" % name)
      try:
          with open(name, "r") as config_file:
              prm_dict = yaml.load(config_file)
      except yaml.YAMLError:
          raise yaml.YAMLErrorr
      else:
          return prm_dict