Put variant in output file