public static List<String> toRelativePaths(@NotNull VirtualFile root,@NotNull final Collection<FilePath> filePaths){
  ArrayList<String> rc=new ArrayList<String>(filePaths.size());
  for (  FilePath path : filePaths) {
    rc.add(relativePath(root,path));
  }
  return rc;
}

public static List < String > toRelativePaths ( @ NotNull VirtualFile root , @ NotNull final Collection < FilePath > filePaths ) { ArrayList < String > rc = new ArrayList < String > ( filePaths . size ( ) ) ; for ( FilePath path : filePaths ) { rc . add ( relativePath ( root , path ) ) ; } return rc ; }
covert list of files to relative paths
