Replace file path in the markdown stage