title: Get file(name) in the dictionary as key and all directories(if file is in) as the value
body: <p>I have directories and subdirectories, I want to get all the files in the dictionary and also directories into dictionary... Like this:</p>
  
  <p>{'randomfile': '.\map\randomdirectory' , '\map\map2' , \somerandom\map\map3'}</p>
  
  <p>Where key is file(name) and all the directories where this file exsist are in value.</p>
  
  <p>I have my project saved in specific map -> there are also those maps which I want to search for files and folders.., lets say I want to search just the maps where I have saved my project.. How do I do it, .. I know that I do it with recursion but it gets tricky. </p>
  
  <p>And yeah,.. I cant use <em>os.walk</em>.</p>
  
  <p>Thanks for potential answer.</p>