Input spectra is recorded into the output file