Add and test readoff.m.