adding read_file and write file examples