create groups file