Loading in segments

Test example included.