create index files for photos