'Read this file\'s contents, decode them using this reader\'s
encoding, and return it as a list of unicode lines.
:rtype: list(unicode)
:param sizehint: Ignored.
:param keepends: If false, then strip newlines.'

def readlines(self, sizehint=None, keepends=True):

    return self.read().splitlines(keepends)
