Combined Parser.parseString and Parser.parseFile into Parser.parse. Also created convenience method Parser.stringify