removes unneded copies of the static files