added file links saving in history