Maybe this could have as header some message how to re-generate the file if the template changes?