add version to text file