Input helper for type="file"

I wonder how to handle the onchange event of “input type=‘file’” and found the following helper works well.

   <input id="mp3file" type="file" {{action 'mp3Changed' on="change"}} accept=".mp3" title="Select a MP3 file"/>

In controller.js or compenent.js

actions: {
  mp3Changed() {
    alert("The selected file changed! ");
 },