title: Read and write a text file in typescript
body: <p>How should I read and write a text file from typescript in node.js? 
  I am not sure would read/write a file be sandboxed in node.js, if not, i believe there should be a way in accessing file system.</p>