If they were renamed on the flash card that is a poor practice. If renamed in Bridge the old names can be recovered it you have checked "preserve original name in XMP". If not you are out of luck. But you still have the images correct?
As Curt Y says, never, EVER let any software write to the card. UNDER ANY CIRCUMSTANCES!
First copy the image files to your computer, ALWAYS!