class ClasspathFileReader implements FileReader {

    @Nullable
    @Override
    public CharStream read(String name) {
        try {
            InputStream resource = readResource(name);
            if (resource != null) {
                return CharStreams.fromStream(resource);
            }
        } catch (Exception e) {
            LOGGER.error("Could not read {}", name, e);
        }
        return null;
    }

}