What is the best practice to save mutiple cdt at the same time?

I am creating a form where the User can attach files, I have created a section which included input fields and upload document fields. The user should have option to add multiple files with the metadata. 

(when the user clicks on add more files, then It should open up another section with all the fields)

I know I can use loop in the process model but is there any other best way to do it?

  Discussion posts and replies are publicly visible