Added check exists dir
Merge pull request #231 from vlastv/patch-1

Added check exists dir