Refactor url files.