When adding files to the index, add support for case-independent matches