delete the unneccessary file