Add support -o to specify an output file