add files to index