optimization for big file parsing (close the stream on the first opening tag)
Merge branch (local pull forgotten after accepting pull request on github)