Add templating for generated files preview