adds saving to file examples