Filename extension error

Needed to convert to lowercase to account for extension case
differences.