How do you use javascript (or another language) to fetch the filelist/array of a user's local directory (given permission, of course...)?