adding history file