support replace strings in files