code: def split_filename_suffix(filepath):
      r"""
      给定 ``filepath`` 返回对应的文件名和后缀。如果后缀是多个点，仅支持 **.tar.gz** 类型
  
      :param filepath: 文件路径
      :return: 文件名 ``filename`` 和后缀 ``suffix``
      """
      filename = os.path.basename(filepath)
      if filename.endswith(".tar.gz"):
          return filename[:-7], ".tar.gz"
      return os.path.splitext(filename)
  
imports: import os
  import re
  import shutil
  import tempfile
  from pathlib import Path
  from urllib.parse import urlparse
  import requests
  from requests import HTTPError
  from fastNLP.core.log import logger
  from rich.progress import Progress, BarColumn, DownloadColumn, TimeRemainingColumn, TimeElapsedColumn
label_desc: Use image node_id 8 for calling a global function with example usage: split_filename_suffix(filepath) and returns: os, filename,  str