Replace "Writer" with "Reader".
Serialize with "encoding/gob".