added filename parameter to BTree