OK, here is the database, it has a form called save files with 2 command buttons on it, save group files and read file.
This line of code is where it puts the files on my disc drive, you will need to change it to where you want them to go.
Open "C:\Access Databases\" & groupname For Output As #1
There are message boxes in the code telling you which group is being actioned and what data is being sent to the file, you obviously won't need them in your version.
The read file button only reads one file to check that they have data and you won't need it in your database.