Import dxf and move it to the document origin

I need to import dxf files that are beeing imported very far away from the rhino origin. Some of the geometry are block definitions what makes things more complicated. So what I need to achieve is something like this:

Import dxf with pancake import file -> select the imported geometry -> explode geometry (blocks become normal geometry) -> group geometry -> move to origin

Can someone help me?

Do you eventually want the geometry output in Rhino or in Grasshopper?