with single file of query