db: delete word should contain file name as argument

It is possible to have the same words in other files
So function deleteWord shoult remove one properly