Don't write query into filename