Split history into separate file