Refactor a common pattern into one function so we don't end up with copy/paste programming.
Attach a file by drag & drop or click to upload