Writing room details into file