Select file output from command line, defaults to stdout