adding initial file read/write.