What would be the best process flow for uploading multiple files

I am designing a app where our clients would need to fill in a form and upload multiple files.

But I am facing a process complication as we need to think where should our form come, before the document upload or after.

From a development process some of the information will need to be auto completed by the system.

Where would you suggest to place the form and upload?