deletes generetad files before createing them