public static void Main(string[] args)
var path = Directory.GetCurrentDirectory();
var fileNames = new string[]{"test1.txt", "test2.txt", "test3.txt"};
foreach(string fileName in fileNames)
using (FileStream fs = File.Create(path + "\\" + fileName))
Byte[] title = new UTF8Encoding(true).GetBytes("New Text File");
fs.Write(title, 0, title.Length);
var files = Directory.GetFiles(path);
foreach(string file in files)