final Charset charset = Charsets.UTF_8;
if (includes != null && excludes != null) {
LOGGER.error("mdcIncludes and mdcExcludes are mutually exclusive. Includes wil be ignored");
includes = null;
}
final Facility f = Facility.toFacility(facility, Facility.LOCAL0);
final int enterpriseNumber = Integers.parseInt(ein, DEFAULT_ENTERPRISE_NUMBER);
final boolean isMdc = Booleans.parseBoolean(includeMDC, true);
final boolean includeNewLine = Boolean.parseBoolean(includeNL);
final boolean useTlsMessageFormat = Booleans.parseBoolean(useTLSMessageFormat, false);
if (mdcId == null) {