added tolower to file matching