Load markups curve from file

Hello ! How can I convert the markupfiducial which I imported from the txt file to the open markups curve?
The code which I convert txt file to the markupfiducial is "markupNode.AddFiducial(*out[:3]) ". Thank you in advance!