Able to fetch only one file in DelegateTask/DelegateExecution, not all the uploaded files on embedded form

Hi Team,

I am new to camunda and trying to retrieve all the upload files on embedded task form in TaskListener/JavaDelegate.
I used the below code to fetch the form values, but this code returns only the one file name not all the attached file names on embedded task form. So how to fetch all the uploaded/attached file names using api?

FileValue fileValue = (FileValue) delegateTask.getVariableTyped(“documentFile”);
String fileName = fileValue.getFilename();

Please give your valuable inputs to solve this issue.

Regards,
Sekhar

I guess the below solution will solve my issue.