Implementation of ITextDocument_fnOpen needs some advice