You are right. After a check the file pointer is not valid.


So, should I simply change the name of the pointer?