initialize the directory