Vastly improve performance when ignoring whole directories.