The property IlabFName contains the filename of the associated data file. This property can be used to ensure that the spectral collection is combined with the correct dataset.
Hint:
In order to access the spectral collection currently loaded in the Spectral Collection Editor you can use the pre-declared global variable SCData.