The restart file isn’t writing out. Adding an error check.