Don't provide directories
Add jquery form plugin, use ajaxSubmit to submit the form when files are selected