Save As CSV works

But it creates empty database files