Must be in side the `if` block above, after the `stream_get_contents()` call.