that's not an error, it's an ASSERT.
For the particular assert you are are referring to I usually just go to ABFILE and comment out that line.
(since the Assert is not telling me anything I don't know, and I do want to call CLOSE not FileManager.Close)
cheers
Bruce