deleting spectrum file