private String createFileName(){
  String fileName=url.getPath();
  if (fileName.startsWith("/%2F/")) {
    fileName=fileName.substring(4);
  }
 else   if (fileName.startsWith("/")) {
    fileName=fileName.substring(1);
  }
  return fileName;
}

private String createFileName ( ) { String fileName = url . getPath ( ) ; if ( fileName . startsWith ( "/%2F/" ) ) { fileName = fileName . substring ( 4 ) ; } else if ( fileName . startsWith ( "/" ) ) { fileName = fileName . substring ( 1 ) ; } return fileName ; }
creates the " prettied - up " filename to use .
