rename file api design