commonHeader.setType(SubfileType.getType(parseString(10)));
switch (commonHeader.getType()) {
case RGN: subfile = new SubfileRGN(); break;
case TRE: subfile = new SubfileTRE(); break;
case LBL: subfile = new SubfileLBL(); break;
case NOD: subfile = new SubfileNOD(); break;
case NET: subfile = new SubfileNET(); break;
case MDR: subfile = new SubfileMDR(); break;
default: subfile = new SubfileNone(); break;
}
subfile.setOffset(subfileOffset);