On failure, the function should return NULL, not a boolean.
Attach a file by drag & drop or click to upload