docs: def load_fn_matches_ext(file_path, file_type):
      """
      Check that the file extension matches the target extension given.
  
      :param str file_path: Path to be checked
      :param str file_type: Target extension
      :return bool correct_ext: Extension match or does not match
      """
      correct_ext = False
      curr_ext = os.path.splitext(file_path)[1]
      exts = [curr_ext, file_type]
      try:
          # special case: if file type is excel, both extensions are valid.
          if ".xlsx" in exts and ".xls" in exts:
              correct_ext = True
          elif curr_ext == file_type:
              correct_ext = True
          else:
              print("Use '{}' to load this file: {}".format(FILE_TYPE_MAP[curr_ext]["load_fn"],
                                                            os.path.basename(file_path)))
      except Exception as e:
          logger_misc.debug("load_fn_matches_ext: {}".format(e))
  
      return correct_ext