correct language of file element type
fix unbalanced tree in incomplete filter
testdata fixed