File query in a job run