cd ${SUBMITTINGDIRECTORY} foreach input (`cat $FILELIST`) mkdir ${JOBID} cd ${JOBID} root.exe -q -b 'bfc.C(1e9,"in,analysis,mysql,gmtmatch,nodefault","@'${FILELIST}'",0,"'${JOBID}'.root")' >& ${JOBID}B.log end