Outputting stable to a file.