reorder functions in sequencefile.go