Since you're deleting while exploitation, would be nice to add a "on_new_session" handler, and check which the file indeed doesn't exist. If the file still exists on on_new_session a message should be printed to the user.