removes unneccessary file