allow to use an index file