Perfect - so I think all elements in prevFileStack are 0 terminated, right? Then you don't need to repeat this as in the other instance of this push/pop_back.