add support for an indexFile
add indexFile task