I hope I understood you correctly. You're right about needing another for loop - that's the one that gets the input from the Get Section Names VI and inside it runs your loop.
By the way, when using auto-indexing in a for loop, there's no need to wire the array size into the N terminal. The loop will run according to the size of the smallest array wired into it.
___________________
Try to take over the world!