read a json triangle file rather than pointgrid