delete nonnecessary file