Added lots of logging to readGridFile