code: def get_remote_files_with_prefix_to_local(
      remote_path_prefix, local_dir, over_write=False
  ):
      remote_dir = os.path.dirname(remote_path_prefix)
      prefix = os.path.basename(remote_path_prefix)
      # get remote file lists
      file_list = get_file_list(remote_dir)
      file_list = [
          file
          for file in file_list
          if os.path.basename(file).startswith(prefix)
      ]
      # get remote files to local
      [
          get_remote_file_to_local(
              file,
              os.path.join(local_dir, os.path.basename(file)),
              over_write=over_write,
          )
          for file in file_list
      ]
  
imports: import functools
  import glob
  import os
  import subprocess
  import tempfile
  import uuid
  from urllib.parse import urlparse
  import numpy
  from bigdl.dllib.utils.common import Sample, JTensor, JavaCreator, _get_gateway, _py2java, _java2py
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 16 for calling a global function with example usage: get_remote_files_with_prefix_to_local(remote_path_prefix, local_dir, over_write) without return types