delete necessary files