delete unused files in template