The same method is found in the MediaPlayer framework.
Attach a file by drag & drop or click to upload