on-the-fly spectral snapshot handling changed by using adfs on file