SimpleFileSink uses StringUtils.hasText to check for null and empty strings for the fileName and directory when creating DSL string.