Take output file as argument