On replaceFileInput store a reference to the new input

Store the new cloned file input in the data as "replacedFileInput"

Test for it with

    data.replacedFileInput || data.fileInput