save to file added. nearly finished with load aswell