code: def readlines(filename, encoding='utf-8'):
      
      text, encoding = read(filename, encoding)
      return text.split(os.linesep), encoding
docs: Read lines from file ('filename')
      Return lines and encoding