Added support for .phtml files