delete namefilewriter