@Override
    public byte[] getContents()
    {
        if (comp == CompressionType.None)
            return parentFile.getContents();
        else if (comp == CompressionType.Lz)
            return LZ.decompress(parentFile.getContents());
        else if (comp == CompressionType.LzWithHeader)
            return LZ.decompressHeadered(parentFile.getContents());
        else
            throw new UnsupportedOperationException("Bad LZFile Type: " + comp);
    }