implement support for files db