Console File Manager in node.js