All window managers already have a key shortcut for that.
Attach a file by drag & drop or click to upload