Take the output file as an argument