code: def list_files(path):
      return sorted(
          os.path.relpath(os.path.join(root, f), path)
          for root, _, files in os.walk(path)
          for f in files
      )
  
imports: import errno
  import hashlib
  import os
  import shutil
  import socket
  import tarfile
  import threading
  import six
  import pytest
  import yatest.common
  import library.python.archive
label_desc: Use image node_id 13 for calling a global function with example usage: list_files(path) and returns: sorted