code: def ls_dir(base_dir):
      
      return [
          os.path.join(dirpath.replace(base_dir, '', 1), f)
          for (dirpath, dirnames, files) in os.walk(base_dir)
          for f in files
      ]
docs: List files recursively.