// make sure that the filename matches the pattern also.
if (add_it && !fnmatch(_pattern->s(), file, 0)) {
filename temp_name(*_path, file);
// make sure that the filename matches the pattern also.
if (add_it && !fnmatch(_pattern->s(), file, 0)) {
filename temp_name(*_path, file);