deletes unecessary file