Properly work with local image capture
Count the number of files correct

Exclude directories