public static boolean inTargetDir(File file){
  return inTargetDir(file.toPath());
}

public static boolean inTargetDir ( File file ) { return inTargetDir ( file . toPath ( ) ) ; }
verify that the supplied file or directory is within the target directory .
