updated EF for input xml files