code: def get_dataset_filepath(name: str) -> Path:
      if name not in _NAMED_URLS:
          raise ValueError(
              f'Dataset "{name}" is not available. Please choose among:\n{list(_NAMED_URLS.keys())}'
          )
      url = _NAMED_URLS[name]
      url_name = Path(url).name
      path = get_cache_folder() / f"{name} - {url_name}"
      path.parent.mkdir(exist_ok=True)
      if path.exists():  # check not empty if exists
          with path.open("rb") as f:
              text = f.read()
          if not text.strip():
              path.unlink()
      if not path.exists():
          print(
              f'Downloading and caching external file "{name}" from url: {url}'
          )
          try:
              response = requests.get(url, verify=True)
          except requests.exceptions.SSLError:
              warnings.warn(
                  f"SSL verification failed for {url}, downloading without verification."
              )
              response = requests.get(url, verify=False)
          with path.open("wb") as f:
              f.write(response.content)
      return path
  
file_path: nevergrad/nevergrad/functions/mlda/datasets.py
imports: import warnings
  import contextlib
  import typing
  from pathlib import Path
  from unittest.mock import patch
  import requests
  import numpy
  import pandas
  from PIL import Image
label_desc: Use image node_id 2 for calling a global function with example usage: get_dataset_filepath(name) and returns: path