template file copy and made