class FolderResourceResolver implements ResourceResolver {

    @Override
    public Reader reader(String name) {

        File file = getFile(name);

        LOGGER.info("Will extract XML from {}", file.getAbsolutePath());

        try {
            return new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8);
        } catch (IOException e) {
            throw new LmRuntimeException("Error reading extractor config XML from file " + file, e);
        }
    }

    public  FolderResourceResolver(File baseDir);

}