removing extraneous image files