title: Get latest files in each sub folders using python
body: <p>I have a list of folders I want to process and I want to get the latest files in each sub-directories.</p>
  <p>For example, I want to find files that contain <code>Received</code> in the files name from each sub-directory. However, in each sub-directories, there might be multiple files with <code>Received</code> in their name. So I want to get the latest one only, meaning, only one file from each sub-folder.</p>
  <pre><code>Root_path = R:\\test
  </code></pre>
  <p>How can I achieve this please use python.</p>