reading init state from textfile in life demo