Change Database name and delete useless file from directory