Upload Refinements

Implement refinements for the upload widget.