Even better would be to use the mimetype, but that would also take more time.
Attach a file by drag & drop or click to upload