wip - creating grid connectivity file