continued work on mex result file reader