extracting record data from parsed file