delete dead files, remove node mapping