textfileA = one word per line
textfileB = multiple words per line
textfileC = words that I have manually found already
if words from textfileA also exist in textfileB, I need to replace the words in textfileB with "error" and write the replaced words from textfileB to new lines in textfileC