splitting up output depending on filesize