var fs = require('fs');
exports.handler = function(event, context){
fs.writeFile('/tmp/sample.txt', 'Hello File', function(err){
fs.readdir('/tmp/', function(err, files){
console.log(files);
context.done(null, files);
});
});
};