delete useless image file