Connect index file to library