Allocate the "tag" object after the file has been opened successfully.
Attach a file by drag & drop or click to upload