Implemented history file deleting.