How to replace text in two word documents in one activity

I have assigned two variables to a newly created document with variable type as String.

And I want to replace the two documents together but it gives me this error


Any solutions?

@audrxyx Find Below.
1.Create StrArray Variable with Array of String Data Type.
2.Assign StrArray=Directory.GetFiles(“Folder Path of your Files”)
3.Use For Each Loop To Loop through both Files Pass StrArray Variable into For Each Loop.

You Need to Replace with “+” instead of “And” in filepath

hi now i get this error: