I am trying to read a plain text file off you the local computer , as far as I know the system is working except for a error I'm getting that I cant seem to get rid of. I haven't see this error before in this setting.
the line of code that is causing the problemCannot Instantiate Type File
File inFile = new File(dirPath + foName);