search data in a binary database file