Make save write to file