This code looks like it is in the wrong place - it should be within the superfile processing code.  I'm not sure this class should know anything about the internal format of a superfile.