fix file opening
Merge branch 'parser' of https://github.com/moreymat/omw-graph into parser