title: OSError: cannot identify image file I can't get rid off the Thumb.db using Pillow in Python
body: <p>I have a <code>dictionary</code> with a <code>list</code> of <code>image files</code> as <code>values</code>. My code works but now I run into this issue wit the <code>Thumbs.db</code> hidden files which is now crashing my code.</p>
  
  <pre><code>from PIL import ImageChops
  from PIL import Image
  import math, operator
  import os
  
  path_folders = ('F:/162 pic sets ready/')
  d = {}
  for dirpath, dirnames, filenames in os.walk(path_folders):
      d[dirpath] = filenames
  
  dict2 = {k: list(map(lambda x: (k+'/'+x ), v)) for k,v in d.items()}
  
  dict3 = {k: list(map(lambda x: Image.open(x), v)) for k,v in dict2.items()} 
  
  OSError: cannot identify image file 'F:/162 pic sets ready/set77/Thumbs.db'
  </code></pre>
  
  <p>I tried everything I was supposed to do in my windows to get rid off the <code>Thumbs.db</code> but I still get this same error. </p>