Fixed #21201 -- Enable customization of ClearableFileInput

Adding extra methods into ClearableFileInput widget to enable
easier customization of the widget.
I checked, but I haven't found it in docs.

I investigated the related ticket, but I didn't get if there is a reason to have template split between two attributes? Or is it only a matter of backwards compatibility?