add get exit of jpeg file