Initial commit for #5
Added option to specify flag to close the buffered reader upon parsing completion