Creating the directories.