Hi,
I did find this post just after posting my questions, however it doesn't completely help unfortunately.
My workflow will not always output 5 files - if there are no records in the 4th group no file will save and therefore the workflow in that solution will fail as it is looking for all 5 files.
So if there is a way to get around that issue, that would be really helpful.