duration += (after - before);
} else
{
long before = System.currentTimeMillis();
BacktrackInputReader fileReader = new BacktrackInputReader(file, filecharset);
StringBuffer buf = new StringBuffer();
char c;
while ((c = fileReader.readCh()) != (char) -1)
{
buf.append(c);
}
fileReader.close();
String patchedContent = patch(buf.toString());
logChangedFileContent(patchedContent, file);
LexTokenReader ltr = new LexTokenReader(patchedContent, Settings.dialect, file);