Enhanced to enqueue directories during scan.