allow indexFile option