Simple parameter check

Testing that directory`s is exsist