Use try-with-resources statement to properly close resources.
Attach a file by drag & drop or click to upload