Adds files referred to in index