Append & Find and Replace string to a file