Create a method to generate a file from a template & data
Create a method to generate a chunk from a template & data