Script that explodes & renames all blocks with only 1 object?

Has anyone made such a thing?

I find that when I import STEP files, even single objects with only 1 instance become blocks, which I find unnecessary, but when you explode them, you lose the object name (because the body name is usually unnamed or just have a generic surface/feature name).