replace file-insert and inject with substituter