Adding AppendToFile string extension