more work to do with file handling into equal buckets