def unpickle(filepath):
arr = []<EOL>with open(filepath, '<STR_LIT:rb>') as f:<EOL><INDENT>carr = f.read(blosc.MAX_BUFFERSIZE)<EOL>while len(carr) > <NUM_LIT:0>:<EOL><INDENT>arr.append(blosc.decompress(carr))<EOL>carr = f.read(blosc.MAX_BUFFERSIZE)<EOL><DEDENT><DEDENT>return pkl.loads(b"<STR_LIT>".join(arr))<EOL>
Decompress and unpickle.