Add extension control support for file upload
Add filter and better error upload handling