public void addFiles(Collection<String> files) {checkFileNames(files);for (String f : files) {setFiles.add(namedForThisSegment(f));}}
public void AddFiles(ICollection<string> files){CheckFileNames(files);setFiles.UnionWith(files);}