FileDeletingVisitor for testing purposes.