/// <summary>
 /// Checks to see if a directory is included in the path so far (both new and old directories).
 /// </summary>
 /// <param name="dir">Directory name</param>
 /// <returns>true if the given directory name is found in either the new or old directory lists.</returns>
 private bool IsIncludedInPath(string dir)
 {
     return(NewDirs.Contains(dir) || OrigDirs.Contains(dir));
 }