split large file into packets