Create outputfile