On linux, IMG_01.JPG and img_01.jpg are different files. But it is not the case with windows. (pun unintended) So all the processing should be in case insensitive way, to make these scripts cross platform.