public static String relativeFile(Iterable<? extends File> paths,String file){
  File path=selectPath(paths,file);
  File relFile=relativeFile(path,new File(file));
  return relFile.getPath();
}

public static String relativeFile ( Iterable < ? extends File > paths , String file ) { File path = selectPath ( paths , file ) ; File relFile = relativeFile ( path , new File ( file ) ) ; return relFile . getPath ( ) ; }
given a path to a file and a list of " search paths " returns the relative path of the file ( relative to the one search path that matched )
