Added a FileHandler for saving and loading along with test.