DB with File Write