Divide functions and sharding , part file compress.