port full mat file parser