This is slightly counter intuitive. It just checks if the file exists, but only if the value is set. Therefore it does not imply that the output is mandatory.