Added an filter to the look_for_templates_in method