Add support to load xml to disk.