A way to read and write from file

Please use filepath.Join instead as this not portable.