delete old image file