def get_file_lines(path):
 data = get_file_content(path)
 if data:
  ret = data.splitlines()
 else:
  ret = []
 return ret

def get_file_lines ( path ) : data = get_file_content ( path ) if data : ret = data . splitlines ( ) else : ret = [ ] return ret
get list of lines from file .