take into account current offset of data when splitting
added test to verify large files support (content)