adding simple methods to the server.js for nodejs allowing crud of filesystem