Making files for binary search tree