Fix division by zero
Deal with multiple extensions
Use os.walk
Finally works
Rewritten as class
Extract camera model