faster splitting? #14, writting stats #16, gzipped files #23