use jobname to store the directory name in the folder name