I think it's safe to run this code without extra checking.
Attach a file by drag & drop or click to upload