The filename should be converted to lower case before comparing.