code: def directory_listing(conn: FTP, path: str) -> Tuple[List, List]:
      
  
      entries = deque()
      conn.dir(path, entries.append)
      entries = map(parse_line, entries)
      grouped_entries = defaultdict(list)
  
      for key, value in entries:
          grouped_entries[key].append(value)
  
      directories = grouped_entries[ListingType.directory]
      files = grouped_entries[ListingType.file]
  
      return directories, files
docs: Return the directories and files for single FTP listing.