Added version number to filename and in header of file