A way to read and write from file

same here.