adapted history in files