createGrid
createGrid from File