Adding examples to save the data into files and read from files.