clean up old routes from a copied file