added new examples and slightly improved error handling if we cant parse the file