title: Do I need to close files I perform File.getName() on?
body: <p>I'll be having lot of files in a directory. I'll be just getting the file names using <code>File.getName()</code> and log them to a log file. I presume, I don't need to close the file since I'm not doing any read/write operation in it.</p>
  
  <p>Is this correct?</p>