Make checks for requested directory