Add index file to publish-subscribe