implement object/contour data reading, error/warning reading