What if a parent directory is already in the directory list? Should we ignore the directory in that case?