private static void CreateFile(string name, DirectoryInfo di) { File.Create(Path.Combine(di.FullName, name)) .Dispose(); }