Append Each File Path to the Array Variable (Inside the Loop):
Inside your loop (where you create files), add an Append to Array Variable action. Use the file path or file content from the created file and append it to the array.-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If my suggestion helps you, please gives it a Like and Marks as a Solution. Which motivates to solve more problems.
Thanks,
Sayan Patra
RPA Developer