{
fis = new FileInputStream(file.getAbsolutePath());
if (unicode)
{
UnicodeInputStream uis = null;
try
{
uis = new UnicodeInputStream(fis, true);
if (Logger.isDebugEnabled(this.getClass()))
{
Logger.debug(this,"File Encoding for " + file + " is: " + uis.getEncodingFromStream());
}
return new BufferedInputStream(uis);
}
catch(IOException e)