fixes the the issue with upper case file extension in the exclusion