add version to file