Removing unreferenced image files