public LZFile(File parent, CompressionType ct)
    {
        name = parent.name;
        parentFile = parent;
        comp = ct;

        if (comp == CompressionType.None)
            fileSize = parent.fileSize;
        else if (comp == CompressionType.Lz)
            fileSize = LZ.getDecompressedSize(parent.getInterval(0, 4));
        else if (comp == CompressionType.LzWithHeader)
            fileSize = LZ.getDecompressedSizeHeadered(parent.getInterval(0, 8));
        else
            throw new UnsupportedOperationException("Bad LZFile Type: " + comp);
    }