code: def open(self):
          
          filename = self.dialogs.getOpenFileName(filter="*.%s" % self.FTYPE)
          if filename:
              self.new(filename)
docs: open a session to define in a dialog in an extra window