save B+tree to file