docs: def delete(self):
          """Deletes the current session file"""
          if self.filename == ':memory:':
              return True
          try:
              os.remove(self.filename)
              return True
          except OSError:
              return False