version to read huge file