add some code to recycle unused rooms in files