binary tree maps for lines of each file