finds gropu attributes for DM and dumps them into a binary file