Check extension in name