Read log file chunkwise

resolves #6021