private void AddFiles(FileInfo[] files) { SubFiles = new DirFiles(); foreach(FileInfo file in files) { DirFile dirFile = new DirFile(file, Parent); SubFiles.Add(dirFile); } }