def write(self, destination, filename, template_name, **kwargs):
template = self.env.get_template(template_name)<EOL>content = template.render(kwargs)<EOL>super(TemplateFileWriter, self).write(destination=destination, filename=filename, content=content)<EOL>
Write a file according to the template name

            Args:
                destination (string): the destination location
                filename (string): the filename that will be written
                template_name (string): the name of the template
                kwargs (dict): all attribute that will be passed to the template