To use a text input to show the filename add data-f-form-file to the file input and add a text input as the next sibling to it (and include the JavaScript).
data-f-form-file
A more "styled" example showing what looks like an input next to the button