add feature: update the date of an opened file
add creation of new history line