Using temporary file for job command