public boolean downloadDirectoryExists(){
  File file=new File(getAbsoluteDirectoryPath());
  return file.exists();
}

public boolean downloadDirectoryExists ( ) { File file = new File ( getAbsoluteDirectoryPath ( ) ) ; return file . exists ( ) ; }
check whether the directory on which to load the file exists
