Minor modification in method WriteGridFile