Subscribing for events on text changed, saving to file, opening, creating