dbToFile