Split read_life_file to new io module; start on write_life_file