def METHOD_NAME(self, db):
    file = db.load_binary(name='checkpoint')
    checkpoint = json.loads(file.getvalue().decode('utf-8'))
    file.close()
    self.cache = checkpoint['cache']
    self.to_clean = checkpoint['to_clean']
    self.cached_sessions.session_project = checkpoint['cached_sessions']