Hello d_stranz,

Thanks for your reply.

In the main() method of your app, you should have something like this, right?
Yes.

You don't explain what "class2" is
Class2 is a set of functions (only) to do with I/O and disk/file manipulation.

You've given me somewhere to start. If the worst comes to the worst, I can revert to placing all these functions back into class1.
They were only separated to clean things up a little.

Regards