String configPath = Paths.path("printing", Paths.convert(configProp));
Resource config = loader.get(configPath);
if (config.getType() == Type.UNDEFINED) {
InputStream conf = getClass().getResourceAsStream("default-config.yaml");
IOUtils.copy(conf, config.file());
}
File qualifiedConfig = config.file();
if (!qualifiedConfig.canRead()) {
LOG.warning("Printing module missing its configuration. Any actions it takes will fail.");
return;