code: def tweets_files(string, path):
      
      for filename in os.listdir(path):
          if re.match(string, filename) and ".jsonl" in filename:
              f = gzip.open if ".gz" in filename else open
              yield path + filename, f
  
              Ellipsis
docs: Iterates over json files in path.