process.add(new ValidateFileSizeStep(context, session.getFileConfiguration(), true));
process.add(new CheckWriteAccessStep(context, session.getProfileManager(), session.getRoot()));
if (file.isFile()) {
// file needs to upload the chunks and a meta file
process.add(new InitializeChunksStep(context, dataManager, session.getFileConfiguration()));
process.add(new CreateMetaFileStep(context));
process.add(new PutMetaFileStep(context, dataManager));
}
process.add(new AddIndexToUserProfileStep(context, session.getProfileManager(), session.getRoot()));
process.add(new PrepareNotificationStep(context));
process.add(createNotificationProcess(context, networkManager));