Added correct saving to file