Applets can not access local files at all.
Applets can only talk across the network to the host machine that they were loaded from.
Parameters for Applets are specified in the HTML, and are read by making calls to various Applet class methods, e.g. getParameter().