if (collection == null) {
collection = new DefaultDataFilesInfo(guid, serverInfo, opId, txId);
map.put(key, collection);
}
DataFileType type = DataFileType.values()[wsFile.getType()];
DataFileInfo file = new DataFileInfo(type, wsFile.getNumberOfChunks());
collection.addFileInfo(file);
}
return map;
}