makes outputfile