* @see #doCallHandler(File, FileInputStream, DocumentHandler)
* @see DocumentIndexingListener
*/
private void indexFile(IndexWriter writer,File file) throws IOException {
fireListenersOnBeforeFile(file);
DocumentHandler handler = getDocumentHandler(file.getPath());
if( handler!=null ) {
FileInputStream inputStream=null;
try {
inputStream=new FileInputStream(file);
Document document=doCallHandler(file,inputStream,handler);