missed a couple of spots: deleting a file and removing files that no longer exist