load TEI file, fragment and related entities