Edited comment
Docs update.
removed side effects on input stream in validate method
Parsing method now takes Stream as input, instead of filepath
Added inefficient population count... better way later