Templating and munging of files etc