sm.checkDelete (getName());
sm.checkDelete (getPath());
  public void deleteOnExit()  {    // Check the SecurityManager    SecurityManager sm = System.getSecurityManager();    if (sm != null)      sm.checkDelete (getName());    DeleteFileHelper.add(this);  }