class TemplateProcessor {

    public Template getFileTemplate(String templateFile) {
        Configuration cfg = new Configuration(Configuration.VERSION_2_3_28);
        cfg.setClassForTemplateLoading(Runner.class, "/");
        try {
            return cfg.getTemplate(templateFile);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }

}