rename cpp files and delete a db handler