Added file exist check

Previously the command just threw an error, which is not understandable for the not so node.js-savvy folk. A simple console.log should do the trick