code: def open(self, options=None, mimetype='application/octet-stream'):
          
          return self.connection.open(self, options, mimetype)
docs: open: return a file like object for self.
          The method can be used with the 'with' statment.