Setting up db files