Changed to normalizing excludedFiles and only testing end of filename for match