title: can't get the items of a folder in list through Applescript
body: <p>I am not getting the file inside the images folder through this code. How can I get that file's name  in the given variable (filelist)?</p>
  
  <pre><code>set p to "/Users/sumeet/Desktop/images/"
  
  set a to POSIX file p
  
  set filelist to (names of items of (POSIX file a))
  
  -- file "Macintosh HD:usr:local:bin:"
  </code></pre>