Can directory[oldLen] == \0?