code: public boolean load(File file)
          throws IOException {
          InputStream in = null;
          try {
              in = new FileInputStream(file);
              this.file = file;
              this.lastModified = file.lastModified();
              return load(in);
          } finally {
              if (in != null) {
                  try { in.close(); } catch(Exception e) {}
              }
          }
      }
docs: Loads grid map definition from a given file.
  
  @param file the grid map file
  @exception IOException in case of I/O error or
  when there are parsing errors in the file (only when errors
  are not ignored).
  @return <tt>true</tt> if the file was parsed and loaded successfully.
  <tt>False</tt> otherwise.