Ma se nel file scrivi

<V001>

e utilizzi il valore numerico come indice di un array non risolvi?

Perché complicarsi la vita?