fixed --output-file argument for non-existing files