code: static FileInputStream createFileInputStream(final File file) throws IOException
  	{
  		try {
  			FileInputStream fs = getInstance().doPrivileged(
  					new PrivilegedExceptionAction<FileInputStream>() {
  						public FileInputStream run() throws IOException {
  							return new FileInputStream(file);
  						}
  					}
  			);
  			return fs;
  		}
  		catch (PrivilegedActionException ex) {
  			throw new IOException("Unable to create FileInputStream over file "+file.getName(), ex);
  		}
  	}
docs: Using privileged security, create a <code>FileInputStream</code> over the
  specified file.
  <p>
  @param file the name of the file. The caller must guarantee this is non-null
  @return a FileInputStream object
  @exception IOException an exception was encountered while attempting to create
  the FileInputStream.