Currently with even more code repetition that needs to be factored out.
Attach a file by drag & drop or click to upload