Fixes #4094: remove the use of list of directory with the transformer
Merge pull request #228 from ncharles/bug_4094/dev/remove_list_of_path

Fixes #4094: remove the use of list of directory with the transformer