Replace content in a text file via LINE#HASH anchors from tool results