add conn rather than ch to load2ddiindex_file