Trying the old `cleanUp/replaceWith` code to see if it fixes issues with file inputs with event bindings.