String documentText = null;
File curFile = new File(currentFi);
long curFileSize = curFile.length();
String fileTypeStr = FileUtils.getFileExtension(currentFi);
String lowerFileTypeStr = fileTypeStr.toLowerCase();
FileType fileType = FileType.fromValue(lowerFileTypeStr);
// file
if (isSpiderFile) {
dateIndexStr = DateTimeUtils.getTimeStringForIndex(spy.getLastModified());