adding support for user-provided Readers to process database dumps