upload history file