Saving balance to file.