Replace content in files