minibuffer-history-sexp-flag be 't during the call to read-from-minibuffer.
Attach a file by drag & drop or click to upload