title: How to find file size in scala?
body: <p>I'm writing a scala script, that need to know a size of a file. How do I do this correctly?
  In Python I would do</p>
  
  <pre><code>os.stat('somefile.txt').st_size
  </code></pre>
  
  <p>and in Scala?</p>