code: public boolean open( String mapPath ) {
          File file = new File(mapPath);
          if (!file.exists()) {
              return false;
          }
          File mapsetFile = file.getParentFile().getParentFile();
          File locationFile = mapsetFile.getParentFile();
          return this.open(file.getName(), locationFile.getAbsolutePath(), mapsetFile.getName());
      }
docs: /*
  (non-Javadoc)
  
  @see eu.hydrologis.jgrass.libs.io.MapReader#open(java.lang.String)