Updated template files to php file type