Implemented the read file and write file functions