Removes unnecessary image file.