replace source text files