Directory creation added.