getTemplateByPath

This method returns a template based on its path.