Fixed #21201 -- Enable customization of ClearableFileInput

Adding extra methods into ClearableFileInput widget to enable
easier customization of the widget.