This allows us to load it only once, instead of twice, in this function.
Attach a file by drag & drop or click to upload