Create New Account record and ability to upload documents on same page

I’ve done this where I save the File Upload to the current user record and then update the record to point to the new Account once it’s been saved. Somewhat janky though since the file is uploaded before the Account is created. So the UX can be that there is an extra file uploaded for no reason.