Storing data chapter - save to file