Simple write to file and read from file
Generated history string