public String[] list(){
  if (Cfg.DEBUG) {
    Check.asserts(isDirectory(),"Should be a directory");
  }
  return file.list();
}

public String [ ] list ( ) { if ( Cfg . DEBUG ) { Check . asserts ( isDirectory ( ) , "Should be a directory" ) ; } return file . list ( ) ; }
list the content of the directory .
