Set distinct file names
Create destination db directory if missing