Add copying of file into index directory