Refactor reader#read