remove unneeded php files in template main directory