Fixed the removal of old useless files