Make sure it keeps the same extension