Task 2: changed the error message and made it more reusable.
Attach a file by drag & drop or click to upload