} else {
buffered.write((PropertyUtils.replacePropertiesInString(line, props) + "\n").getBytes("UTF-8"));
}
}
} catch (TransformerException e) {
throw new CitrusRuntimeException(e);
} catch (IOException e) {
throw new CitrusRuntimeException(e);
} catch (SAXException e) {
throw new CitrusRuntimeException(e);
} finally {
if (reader != null) {
try {
reader.close();
} catch (IOException e) {