delete img file.