Automatically append the same extension