'Set `self.reader` by name.'

def set_reader(self, reader_name, parser, parser_name):

    reader_class = readers.get_reader_class(reader_name)
    self.reader = reader_class(parser, parser_name)
    self.parser = self.reader.parser
