add db query files