Modify query to allow search by filename