read and write templates to templates.aes