Compression

This pull request should fix the issue with the compression and add all the files to the set to_compress.

 I've tested it first with the debugger to see the structure of the returned elements, and later with the entire pipeline test suite (not just with the standard tests). As we're having issues to reproduce the error, we can give this a try.