changed file extenions to always compare lowercase