split a file into chuncks