int extractVersionFromFilename(final File file){
  final Matcher matcher=versionedPattern.matcher(file.getAbsolutePath());
  matcher.find();
  return Integer.parseInt(matcher.group(2));
}

int extractVersionFromFilename ( final File file ) { final Matcher matcher = versionedPattern . matcher ( file . getAbsolutePath ( ) ) ; matcher . find ( ) ; return Integer . parseInt ( matcher . group ( 2 ) ) ; }
find the version number that ' s embedded in the name of this file
