if (src.isDirectory()) {
for (File file : src.listFiles()) {
final File confFile = new File(file, "conf.yml");
try {
confs.put(new Id(file.getName()), confFile.length() > 0 ? MAPPER.readValue(confFile, Conf.class) : new Conf());
} catch (IOException e) {
throw new OrchestrationException(e);
}
}
}