code: def readlines(self, encoding=None):
          
          try:
              encoding = encoding or ENCODING
              with codecs.open(self.path, encoding=None) as fi:
                  return fi.readlines()
          except:
              return []
docs: Reads from the file and returns result as a list of lines.