added support for .DB extension