Add History repository in file