file to access db