title: Applescript: read text from file
body: <p>I can't read text from text file using applescript. Tried this:</p>
  
  <pre><code>set sharesFileName to (the POSIX path of (path to home folder)) &amp; "Applications/mounts"
  set sharesLines to paragraphs of (read POSIX file sharesFileName as "class utf8" using delimiter linefeed)
  </code></pre>
  
  <p>Got "Script Error", "End of file error"</p>
  
  <p>What am I doing wrong? File, surely, exists and readable</p>