Isn't `filestem` perfectly good vector here that we can just reuse for `v`? (i.e. trade this forced allocation for a possible allocation below.)