add the function of file history
add the function of file history