Sentence:  However, the practice of <WSD>filking</WSD>, of taking an existing melody and providing new, usually topical and/or satirical, lyrics, is in fact the direct counterpart of the Medieval practice of writing contrafacta. 
Meaning of the word marked with <WSD> tags:  To write a parody of (a song).