You could replace this method by...

> ByteArrayOutputStream os = new ByteArrayOutputStream();
> Utils.copyStream ( new File(xmlFilePath), os );
> return os.toByteArray();