Change in the read/write to file methods.