XML reading now parses binaries