In case, when you need to upload whole folder through ajax in node-webkit.