Hi Andrew,
FileTemplateApply
creates a new file every time it is evaluated, if the file already exists, it is deleted and a new file is created. The code above looks very straightforward and easy to understand. It decouples the generation of the data from the processing (export) which is good and more flexible. I can't think of a way to "simplify" it.