Read file in chunks and related complications.