title: Extract only file name From FileItem's name
body: <p>In apache commons file uploading the uploaded files are available as FileItem objects.<br/>
  If I get the name of such file item by using <code>fileitem.getName()</code> it returns the full path (ex: <code>C:\Test\test.txt</code>).<br/>
  <br>
  Is there any way to get only the file name.<br/>
  What I actually need is to save the uploaded file as temp file using <code>File.createTempFile()</code>
  <br/>
  but the name and extension of the temp file should be the same as the uploaded file rather than a random name(like <code>temp.tmp</code>)</p>