title: Python: how to obtain only first filename in the directory
body: <p>I have path for the various directories. Now I want to look into header info of first file in each directory. </p>
  
  <p>Eg: <code>path = "Users/SDB/case_23/scan_1"</code></p>
  
  <p>Now in sub directory <code>scan_1</code> I want to check some header information. For this purpose how can I get complete path and name of first file(by name) in a sub directory?</p>