Custom Report for File Share Permissions

I am looking for a way to run a folder permissions report on a file share that lists the groups with access in the main report without listing out every member in those groups. Then, in a subreport at the end, list out each group with members listed only once. The report that I am currently running for this, lists out the groups and group members for each folder... over and over again. So if there is a group that has 200 members in it and they have access to the entire file share, that same groups members are listed out hundreds of times in the same report, once for each folder. The reports are 1000's of pages long because of this.