cleaning up datadir