added constructor for reading btree file