create and append text file in c#