adding version to file