}
public ProcessComponent createUpdateFileProcess(File file, NetworkManager networkManager) throws NoSessionException,
IllegalArgumentException, NoPeerConnectionException {
DataManager dataManager = networkManager.getDataManager();
UpdateFileProcessContext context = new UpdateFileProcessContext(file);
H2HSession session = networkManager.getSession();
SequentialProcess process = new SequentialProcess();
process.add(new ValidateFileSizeStep(context, session.getFileConfiguration(), false));