var fs = require('fs');
fs.open("test.txt","w",0644,function(e,fd){
if(e)throw e;
fs.write(fd,"first fs!",0,'utf8',function(e){
if(e)throw e;
fs.closeSync(fd);
})
});
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');