history for files follows after rename

reimplemented the change requested in #3502 directly in the model 
closes #6966