Fixed issue with very large result files