RavenDB-2474: Files Query RC

I am sending the pull request, but it would need a review before integrating.