code: def _get_local_path(
      name, path, aws_access_key=None, aws_secret_key=None
  ):
      if os.path.isfile(path):
          return path
  
      cwd = os.getcwd()
      data_path = os.path.join(cwd, "data")
  
      if not name.endswith("csv"):
          name = name + ".csv"
  
      local_path = os.path.join(data_path, name)
  
      if os.path.isfile(local_path):
          return local_path
  
      if not os.path.isfile(local_path):
          if not os.path.exists(data_path):
              os.makedirs(data_path)
  
          _download(
              path,
              local_path,
              aws_access_key=aws_access_key,
              aws_secret_key=aws_secret_key,
          )
          return local_path
  
file_path: ATM/atm/data.py
imports: import glob
  import logging
  import os
  import shutil
  import boto3
  import pandas
  import requests
  from botocore import UNSIGNED
  from botocore.client import Config
  from botocore.exceptions import ClientError
label_desc: Use image node_id 7 for calling a global function with example usage: _get_local_path(name, path, aws_access_key, aws_secret_key) and returns: path, local_path, local_path