Modified to also output the SegFile before normalizing