remove necessary files