image file reorganization