public void addIgnoreDirectory(String directory)
 {
     ignoreDirectories.Add(FileMatch.Create(directory));
 }
 private void addIgnoreFile(String fileName)
 {
     ignoreFiles.Add(FileMatch.Create(fileName));
 }