Generate curve from a txt files

Good evening,
I was searching for a way to turn the following coordinate points into a group of curves.
The data is written in a txt file as X Y Z.
Thank you for your help!
coordinate.txt (49.8 KB)

You can just open or import the text file and Rhino will generate the points. then select the points and run Polyline>Through Points. I see there is one error when I do that, so you may need to do a bit of manual editing.

If you want to generate smooth curves through the points, with your “sawtooth” shape, you will probably need to do it section by section.

Thank you!