Once again, and based in your brief explanation I think that the best way to work is to create a parser for ego file and export a BPMN2 xml file. And then use that as starting point. If you go in that direction, you can contribute back to the community the ego to BPMN2 xml transformer.
Cheers