single file cases
should handle 2D images