Added history flag so that file loading does not update the history