Get dir of a file
<p>I think I have a simple question, but I cant figure it out. I would like to get the directory of a file.</p>

<p>Example: 
path = /mnt/sdcard/music/music.mp3</p>

<p>Should return 'music'</p>

<pre><code>public String getDir(String pathAudioFile)
{
    File f = new File(pathAudioFile);

    return  f.???
}
</code></pre>
