Replace example file by template