This function does not have 100% branch coverage of `if ext in exts:`
This function does not have 100% branch coverage of
if ext in exts: