title: reading all json files and file content in dir and sub dir
body: <p>I have folder, where json files gets created for every date, and in date for every hours. </p>
  
  <p>I am able to read all the file names by:</p>
  
  <pre><code>for root, dirs, files in os.walk(rootdir):
      for name in files:
          if name.endswith((".json")):
              print name
  </code></pre>
  
  <p>Root path is <code>/home/ubuntu/Desktop/temp/06-56-10/27</code>
  In this path there are sub folder for every hour. This subfolder contains json files.
  here, <code>name</code> prints all json file name. But it does not give entire path of the file, so I could not read it. </p>
  
  <p>Any help apprecited</p>