Adding version information to output files