Added error handling to 50-file.js
Merge pull request #243 from TJKoury/change_file_node

Change to error handling in 50-file.js to pass on msg.error.
added folder functionality to file node