fixed db file regex