add tag in output file