title: exclusive parameter when using GetFile with Phonegap
body: <p>I am reading through the documentation on PhoneGap and I'm struggling to understand the point of the exclusive parameter when getting files.</p>
  
  <p>So the documentation lists this as an example.</p>
  
  <pre><code>// Create the lock file, if and only if it doesn't exist.
  lockFile = dataDir.getFile("lockfile.txt", {create: true, exclusive: true});
  </code></pre>
  
  <p>So what I'm struggling to get my head around is that surely it would only create "lockfile.txt" if the file doesn't exist anyway? </p>
  
  <p>How is setting the exclusive parameter to be true make any difference? When would it be needed?</p>