add method - read file

add method in GridMap to read file
add test for reading file