Added setTemplateFile to PHPTemplateOutput
Added more precise diagnostic message