public void OpenCommand() {
    fileBrowserStatus = FileBrowserStatus.Open;

    fileBrowser = new FileBrowser(this, midlet.display);

    fileBrowser.setCurrentDir(currentDirName);

    fileBrowser.browse();
  }
  public void SaveCommand() {
    fileBrowser = new FileBrowser(this, midlet.display);

    if (currentDirName != null && currentFileName != null) {
      fileBrowser.setCurrentDir(currentDirName);

      fileBrowser.setCurrentFile(currentFileName);

      Save();
    } else {
      fileBrowser.setCurrentDir(currentDirName);

      fileBrowser.browse();
    }
  }