Form file

Here is a text
upload
.

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).

A Better File Input

A more "styled" example showing what looks like an input next to the button