1👍
✅
You definitly cannot access local filesystem of your users. It is a security matter.
You can read more at this related question : Reading files from hard drive with javascript
What you can do by the way is limiting the type of file you can upload with the accept
attribute :
<input id="fileSelect" type="file" accept=".txt" />
Source:stackexchange.com