skeleton for reading cs229 files