code: def read_file(paths):
      
  
      if isinstance(paths, str):
          paths = [paths]
  
      re = {}
      for path in paths:
          cfg = yaml.load(open(path))
          merge(re, cfg)
  
      return re
docs: read config from path or list of paths
  
      :param str|list[str] paths: path or list of paths
      :return dict: loaded and merged config