db and files