clean up the routes file