This is moved to a model method rather than an helper method because the API will need it too.
Attach a file by drag & drop or click to upload