Node.js : Reading and Writing File in Node.js