It correctly handles the case where the files are left in the directory, but doesn't handle if a sub-directory was not deleted.