Added slice_file utility for testing split segments.