This allows passing the file object directly and makes the function call more verbose.
Attach a file by drag & drop or click to upload