if a file does not exist, print the message instead of writing it to standard output.