Avoid warnings about types mismatch and make the code a little simpler.
Attach a file by drag & drop or click to upload