If the file isn't closed such as when logging to stdout or stderr the file must be...