Put db data into separate file