code: def download_gcs_file(filepath, bucket=None, prefix=None, **kwargs):
      """Downloads files from Google Cloud Storage.
  
      Args:
          filepath: The file path
          bucket: bucket to which the file belongs to in Google Cloud Storage
          prefix: parameter in list_blobs to limit the results to objects that have the specified prefix
          kwargs: Keyword arguments for list_blobs
  
      Returns:
          shapefile_dir: The shape file
      """
      client = _compat["google.cloud.storage"].Client()
      bucket = client.bucket(bucket)
      max_results = kwargs.pop("max_results", None)
      blobs = bucket.list_blobs(prefix=prefix, max_results=max_results)
      tmpdir = tempfile.gettempdir()
      shapefile_dir = None
      for blob in blobs:
          fpath = blob.name
          fname = fpath.split("/")[-1]
          if len(fname) < 1:
              continue
          if fname in filepath:
              blob.download_to_filename(os.path.join(tmpdir, fname))
              if ".shp" in fname:
                  shapefile_dir = os.path.join(tmpdir, fname)
  
      return shapefile_dir
  
imports: import os
  import tempfile
  import pandas
  from data_describe.compat import _compat, _requires
  from data_describe.misc.file_ext import _FileExtensionTypes, is_filetype
label_desc: Use image node_id 3 for calling a global function with example usage: download_gcs_file(filepath, bucket, prefix) and returns: shapefile_dir