Removing an item from the scene...

Here is what im trying to do. I have multiple files to import. They all have an item in it named the same, lets just say “Cube” for now. For frame 1 i import file1.x3d. When i switch to frame 2, i unlink the object named “Cube” from the scene. I import file2.x3d, and then the object is named “Cube.001”. But i need it to be named just “Cube”.

They way i remove the object is by doing


Is this the best way to remove an object, “permanently”?

I know it does the naming convention by default in blender. Is there some way to remove the previous object named “Cube” so that when i import another object called “Cube” that it doesnt rename it to “Cube.001”?