refactor(dom) setCurrentFile: nohistory -> history