add index files for empty dirs