export database
merge files