Changed exclude checking to account for globbing.