Fixed spectrum file I/O