Generate XVector.txt file