'How to parse *.emcmf file?

I'm trying to parse emcmf file but didn't find any information about it. As I understand, there is a raw file wrapped with the header. Another point that I got is that the raw file starts at line 660. How can I find the end of the raw file? Does anybody know how to parse *.emcmf file format?

enter image description here

emc


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source