- Now the server program keeps generating directory names until it founds one that is not being used and then use that name for creating the scene directory.