Quote Originally Posted by Mario F. View Post
Nope. Both open and close stream operations are inside the loop. These will also be repeated one hundred thousand times.
AKA... "How I thrashed my hard disk to death"... since the r/w head has to traverse to the directory then back to the file's lead sector each time.