This should be in an else with the below filename, unless we are expecting stderr output?