able to read and store arbitrary number of rooms from file