Added state saving to the smoother file for transfer to the decoder