support for multiple db filesystems, thanks Luca