"The intent behind stderr is that it is the ''standard error output""; error messages printed to it will not disappear into an output file."
A more realistic way to print an error message when a file can't be opened would be.