for segmented files, simply copy into contiguous buffer and decompress