Added saving to file - working on loader