@JsonProperty("selectionRoot") String selectionRoot
) throws IOException, ExecutionSetupException {
this.formatPlugin = (EasyFormatPlugin<?>) engineRegistry.getFormatPlugin(storageConfig, formatConfig);
Preconditions.checkNotNull(formatPlugin, "Unable to load format plugin for provided format config.");
this.selection = new FileSelection(files, true);
try{
BlockMapBuilder b = new BlockMapBuilder(formatPlugin.getFileSystem().getUnderlying(), formatPlugin.getContext().getBits());
this.chunks = b.generateFileWork(selection.getFileStatusList(formatPlugin.getFileSystem()), formatPlugin.isBlockSplittable());
this.endpointAffinities = AffinityCreator.getAffinityMap(chunks);
}catch(IOException e){