File.exists giving a null reference exception instead of returning false. c# : <pre><code>if(File.Exists(Application.persistentDataPath + "/users/" + Input.GetComponent&lt;Text&gt;().text + ".dat"))
</code></pre>

<p>This line always causes a null reference exception instead of returning false when it cannot find the file.</p>
