def METHOD_NAME(self, template, class_name, **kwargs):
    data = {
        u"class_name": class_name,
        u"wikis": self.wikis
    }
    data.update(kwargs)
    rendered = self.template_env.get_template(template).METHOD_NAME(**data)
    out = codecs.open(u"../src/main/java/org/wikipedia/staticdata/" + class_name + u".java", u"w", u"utf-8")
    out.write(rendered)
    out.close()