code: def get_all_files(path):
      return sorted(
          [
              Path(p).relative_to(path)
              for p in glob(str(Path(path) / "**"), recursive=True)
              if not Path(p).is_dir()
          ]
      )
  
file_path: datalad/datalad/distributed/tests/ria_utils.py
imports: import inspect
  import os
  from functools import wraps
  from glob import glob
  from datalad.tests.utils_pytest import SkipTest, attr, create_tree
  from datalad.utils import Path
label_desc: Use image node_id 1 for calling a global function with example usage: get_all_files(path) and returns: sorted