Memoize file path that stores prompt history
Extract prompt history into class