Kill layer info max 6

When I import a HUGE dxf ..it makes so many layers ..that it crashes..or…
I cant …use the LM …
it there a way to throw away all the layer info>?

cant you import as cad ? and purge the layers in autocad