Fixed issue with file extension case