change send segments and update block function to per block action
delete newFileInfo