Cleans up the routes file