public static List<Config> readConfigFiles(String[] files,boolean lowPrecedence){
  if (files == null) {
    return Lists.newArrayList();
  }
  YamlReader<Config> reader=new YamlReader<>(Config.getYamlConstructor());
  ArrayList<Config> result=Lists.newArrayList();
  for (  String file : files) {
    File f=new File(file);
    Config c=reader.read(f);
    c.setLowPrecedence(lowPrecedence);
    result.add(c);
  }
  return result;
}

public static List < Config > readConfigFiles ( String [ ] files , boolean lowPrecedence ) { if ( files == null ) { return Lists . newArrayList ( ) ; } YamlReader < Config > reader = new YamlReader < > ( Config . getYamlConstructor ( ) ) ; ArrayList < Config > result = Lists . newArrayList ( ) ; for ( String file : files ) { File f = new File ( file ) ; Config c = reader . read ( f ) ; c . setLowPrecedence ( lowPrecedence ) ; result . add ( c ) ; } return result ; }
reads in a list of configuration files
