we use megabytes, not mebibytes
Split data if required

data can be of any arbitrary size, even bigger than split_size, so
it must be processed in chunks.
tests fort large file support