added reading of map files