replace paths with text