creating all the directory at once