cleanup routes file