delete nonnecessary files