substitute folder with directory
Merge pull request #544 from LudwigOrtmann/folder2directory

substitute folder with directory