Added the ability to list directories in the job's working directory.