I'm having an issue because of a different encoding in the `parse_file` method. Is there a reason why you just call `open` without encoding? Otherwise I would prepare a PR for that.