Add template.php file