void createDir(const char* directory);