Implement compress of examples by portions of files