Grouping objects inside object

Hi, this might be a long shot but ... Is there a way to group objects that are inside another object? One client sent me one file with thousands of id plate files in it, each plate consist of a logo a  serial number and the box containing both but everything is ungrouped, so now I have to manually group each box and the data inside it one by one. Is there a way to do this with a macro or directly in Corel?