Added support for PHP files and Twig templates