... ok,

to clarify the wrong error level finally :

open() resets it in your case

J.
_________________________