Streaming api and index files