code: public String getAbsolutePath(){
  		if(this.isValid()){
  			if(this.asFile()!=null){
  				return FilenameUtils.getFullPathNoEndSeparator(this.file.getAbsolutePath());
  			}
  			else{
  				return FilenameUtils.getFullPathNoEndSeparator(this.url.getPath());
  			}
  		}
  		return null;
  	}
docs: Returns the absolute path of the file, without the file name
  @return absolute path if the file info object is valid, null otherwise