updated XDI file reading to better support non-XAFS data