code: def get_formatting_list(wiki_path, recursive=False):
      """
      get formatting list of file names from extracted content
      """
      filenames = []
      for dirname in glob.glob(
          os.path.join(wiki_path, "*"), recursive=False
      ):
          for filename in glob.glob(
              os.path.join(dirname, "wiki_*"), recursive=recursive
          ):
              filenames.append(filename)
      return filenames
  
imports: import os
  import sys
  import glob
  import math
  import time
  import tarfile
  import argparse
  import multiprocessing
  from collections import defaultdict
  from gluonnlp.utils.misc import download, load_checksum_stats
  from gluonnlp.utils.lazy_imports import try_import_wikiextractor
  from gluonnlp.base import get_repo_url
  from itertools import islice
  import nltk
  import statistics
  from segment_sentences import Sharding, segment_sentences, NLTKSegmenter
label_desc: Use image node_id 2 for calling a global function with example usage: get_formatting_list(wiki_path, recursive) and returns: filenames