refactor(dom) pCurrent -> currentFile