private List<String> getTestTailLines(File file, int count, int estimate) throws IOException {
long pos = -1;
List<String> testLines = new LinkedList<String>();
do {
List<String> returnedLines = new LinkedList<String>();
LongRange range = FileUtils.pagedLines(file,pos,-count,returnedLines,estimate);
Collections.reverse(returnedLines);
testLines.addAll(returnedLines);
pos = range.getMinimumLong()-1;
} while (pos>=0);
Collections.reverse(testLines);
return testLines;
}