Fixed #21201 -- Enable customization of ClearableFileInput

Adding extra methods into ClearableFileInput widget to enable
easier customization of the widget.
these methods need to be documented in the widget docs, otherwise they'll be broken links.