db: change the file searched for static functions