Removing the extension from the cardImagePath. In other words cleaning up Chad's mess