for folder in list(self.myDict.keys()):
    if caseInsensitivePath.lower().startswith(folder.lower()):
        pass
How to delete a file from the filesystem based on the returned case insensitive delta?