Sentence:  It was simply his necessity to confess which had made him <WSD>write</WSD> and keep this thing . 
Meaning of the word marked with <WSD> tags:  produce a literary work