Check Path and Create Directories