title: is it possible to locate file on Mac without knowing exact location?
body: <p>I am trying to locate a file on Machintosh without knowing exact file location. I am developing an app which needs to locate iTunes library XML file and parse it for data. However XML resides in,</p>
  
  <pre><code>/Users/**Current logged in username**/Music/iTunes 
  </code></pre>
  
  <p>Now username may change, So how to set path of let my code find below named file programmatically. Language used is Objective - C.</p>
  
  <pre><code>File name : iTunes Music Library.xml
  </code></pre>
  
  <blockquote>
    <p>Possible solution I thought is to get username by code. Is there any method which returns a string of current logged in user's "username".</p>
  </blockquote>
  
  <p>Thanks</p>