Efficient, flexible, and accurate client-side file identification tool