public File(File dir,String name){
  this(dir == null ? null : dir.getPath(),name);
}

public File ( File dir , String name ) { this ( dir == null ? null : dir . getPath ( ) , name ) ; }
constructs a new file using the specified directory and name .
