Changes for completing the sharing the file in multiple segments.