The notify library is easier to use, and has no disadvantages.
Attach a file by drag & drop or click to upload