proc.py program reads sgm files