regarding a code of creating a file object
<p>I once saw the following code for creating a file object</p>

<pre><code>File trainingFile = new File(new File(dataDir,category),category+".txt");
</code></pre>

<p>looks to me that there exists a recursive call of <code>new File</code> in the outside <code>new File</code>, what does this code exactly to do?</p>
