code: def _templates_match(t, family_file):
      
      return t.name == family_file.split(os.sep)[-1].split('_detections.csv')[0]
docs: Return True if a tribe matches a family file path.
  
      :type t: Tribe
      :type family_file: str
      :return: bool