Some basic input/ouput implementation for xml files.