code: def read_localfile(fileName):
      lines = []
      with open(fileName) as f:
          for line in f:
              lines.append(line)
      f.close()
      return lines
  
file_path: BigDL/python/dllib/src/bigdl/dllib/feature/dataset/sentence.py
imports: import nltk
  import os
  import itertools
  import sys
  from nltk.tokenize import word_tokenize
label_desc: Use image node_id 1 for calling a global function with example usage: read_localfile(fileName) and returns: lines