Erase unused documents