Use Streader for reading pattern header.