Add a function to create non-existent directory