Index for mime should be on datafiles and not datadirs.