delete old files for rebuild