My code runs instantaneously for 600kB files...700kB files, at 800kB it suddenly hangs and doesn\'t get to the end.
I printed out each time it writes a chunk to the b