Fast and lightweight binary search on text files