in reply to processing huge files
Please show us a small complete program that demonstrates your problem.
Paul