title: Get specific level of directory
body: <p>i would like to get the original folder name by dynamic path and username, and without Windows default directory</p>
  
  <p>For example,</p>
  
  <pre><code> C:\Users\dynamic user\Desktop\History\2014-11-03\Spreadsheets\excel.xls
   C:\Users\dynamic user\Desktop\History\record.xls
  </code></pre>
  
  <p>In this case, i want it to return "History" for excel.xls &amp; record.xls. I tried to use GetFilename() method. But it just returns</p>
  
  <pre><code> Spreadsheets - excel.xls
   History      - record.xls
  </code></pre>
  
  <p>Is it possible to achieve? Thanks for your help.</p>