code: def _ls_recursively(dir_name: str) -> List[str]:
      fname = []
      for root, d_names, f_names in os.walk(dir_name):
          for f in f_names:
              if "__pycache__" not in root:
                  fname.append(os.path.join(root, f))
  
      return fname
  
file_path: pytorch-lightning/src/lightning/app/cli/cmd_init.py
imports: import os
  import re
  import shutil
  from typing import List, Optional, Tuple
  from lightning.app.utilities.app_helpers import Logger
label_desc: Use image node_id 3 for calling a global function with example usage: _ls_recursively(dir_name) and returns: fname