delete needless image files