split parse into fromFile() and parse() method
Merge pull request #3 from andreas-marschke/feature/functionality-split

split parse into fromFile() and parse() method