move check for original file to Haltr::Xml