rebuild db a bit, now files are sepperated from groups of files. Groups can contain n files.