optionally get filename from job parameters