Quote Originally Posted by jmcilhinney View Post
While it's not really a big deal, only one of those five declared variables is used unless you enter the If block so the other four really belong inside the If block too.
Huh? I agree that the fileNumber variable should be scoped to within the If block but the others have to be outside of it.