remove unnecessary image files