Could the removal of these used files remove elements before that at `index` thus making this loop skip elements?