delete old files and start all over by myself, using c++