On most files: Select all, then go to the Object drop down, and select Clipping mask, then release. You might have to do this multiple times. I also like to then create an object with no fill or stroke. Select this object and then go to the Select drop down, and select Same, Fill and Stroke. You can delete all this junk out of the file. Some files with clipped images and gradients require more work.