> No, it is incorrect. I tested that exact snippet here and it correctly > closes the file. I can move the file around just after that. Yes, indeed. Sorry for not getting my facts straight and thank you for testing. Part of the code *was* holding a low-level file handle.