class RelativePathFunction implements Function<FileStatus, String> {

  @Override
  public String apply(@Nonnull FileStatus fileStatus) {
    return DistCpUtils.getRelativePath(sourceRootPath, fileStatus.getPath());
  }

    RelativePathFunction(Path sourceRootPath);

}