Clean up routes file.