you also need to change it in isfileopen as that function is generating the error 53