This introduces no functional changes, but consolidates and documents the code a bit more.
Attach a file by drag & drop or click to upload