Save functionality writes to files automatically