I somewhat disagree with opt name because of `path.extname()` stdlib function. The dot should be included as you said.