closefd=True is the only accepted value with a file name.
Attach a file by drag & drop or click to upload