create a directory cycle