code: def read_fileset(filenames):
      # first, read the sentences from each data file
      sentences = []
      for filename in filenames:
          with open(filename) as fin:
              next_sentence = []
              for line in fin:
                  line = line.strip()
                  if not line:
                      # lots of single line "sentences" in the dataset
                      if next_sentence:
                          if len(next_sentence) > 1:
                              sentences.append(next_sentence)
                          next_sentence = []
                  else:
                      next_sentence.append(line)
              if next_sentence and len(next_sentence) > 1:
                  sentences.append(next_sentence)
      return sentences
  
imports: import argparse
  import glob
  import os
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: read_fileset(filenames) and returns: sentences