Ember is a clientside framework, so it only runs in the user’s browser. Not on your server. So it cannot receive the file upload.
You could definitely put the above code into an ember component that displays a nice UI for the upload, and that knows how to post the file to your server and show helpful feedback. But you would still need some server to post to. Or you can use a service like https://www.filepicker.com/.
That’s not entirely correct. Regular file uploads, yes those go directly to a server. But you may want that data in the Ember app before uploading (or storing it in e.g. localstorage), and you can use the drag and drop features of HTML5 for that together with Ember.
I have a work in progress (may or may not complete it) which takes an MSI Afterburner log file, processes it client side and inserts it into a Firebase database in a optimised and compressed format to be shared with others … which I can then easily create graphs from.