behaviour modification: -o without param makes stdout, no -o auto-generates filename