The array is +1 from index +1 for \0.
update names files/dirs