Added chunking to three_fizer file and memory I/O operations