You posted an example of your input file, but I don't understand what you want to be output after the macro.
If Chapter_001.doc is Before, could you post the desired After?