Move fileInputOuput read() and write() calls from the individual Managers to StateManager. If there is a change in the file, StateManager tells UndoManager to clear all undo history.