Update the factorial file