added fully functioning indexer for log files