add function

Add file(s) to index