BUG: check for existence of FILENAME before sorting spectra
BUG: check for existence of FILENAME before sorting spectra

astrocatalogs/supernovae,astrocatalogs/supernovae,astrocatalogs/supernovae,astrocatalogs/supernovae