This is a basic patent DB reader and chunker