Hello Samuel,

Yeah, you are right.
First call to get list of files and second call to get file attributes, no need of loops.

Regards.